cargo.git
11 years agoWhitespace
Carlhuda [Fri, 11 Apr 2014 22:14:37 +0000 (15:14 -0700)]
Whitespace

11 years agoBeginnings of a dependency resolver
Carl Lerche [Thu, 10 Apr 2014 01:07:47 +0000 (18:07 -0700)]
Beginnings of a dependency resolver

11 years agoTrack Rust master
Carlhuda [Fri, 11 Apr 2014 22:04:44 +0000 (15:04 -0700)]
Track Rust master

11 years agoStart extracting core types
Carl Lerche [Wed, 9 Apr 2014 20:49:29 +0000 (13:49 -0700)]
Start extracting core types

11 years agoTrack rust master
Carl Lerche [Wed, 9 Apr 2014 20:28:10 +0000 (13:28 -0700)]
Track rust master

11 years agoNow can get all configs
Yehuda Katz [Mon, 7 Apr 2014 03:31:50 +0000 (20:31 -0700)]
Now can get all configs

11 years agoAdd support for reading config
Yehuda Katz [Mon, 7 Apr 2014 01:26:36 +0000 (18:26 -0700)]
Add support for reading config

11 years agoImplement process hamcrest matcher
Carl Lerche [Wed, 2 Apr 2014 23:34:19 +0000 (16:34 -0700)]
Implement process hamcrest matcher

11 years agoUpdate tests against Rust master
Carl Lerche [Wed, 2 Apr 2014 20:22:45 +0000 (13:22 -0700)]
Update tests against Rust master

11 years agoUp to date with master
Yehuda Katz [Wed, 2 Apr 2014 05:31:11 +0000 (22:31 -0700)]
Up to date with master

11 years agoEncoding and decoding now in libcargo
Yehuda Katz [Fri, 21 Mar 2014 00:55:33 +0000 (17:55 -0700)]
Encoding and decoding now in libcargo

Commands can now call a simple function (execute_main) with some type
params, and get flags and stdin converted into their expected structs
automatically. Commands that return a json-serializable struct will also
get that struct automatically serialized into the output.

Additionally, error handling is now handled in a central location. If a
command returns a CargoError, its message will be printed (soon in
color!) and its exit code will be used to exit the process.

11 years agoCleanup integration test
Carl Lerche [Thu, 20 Mar 2014 22:17:19 +0000 (15:17 -0700)]
Cleanup integration test

11 years agoMerge branch 'integration-tests'
Yehuda Katz [Thu, 20 Mar 2014 21:10:29 +0000 (14:10 -0700)]
Merge branch 'integration-tests'

Conflicts:
Makefile
src/bin/cargo-read-manifest.rs
src/bin/cargo-rustc.rs
src/cargo/mod.rs
src/cargo/util/process_builder.rs
tests/test_cargo_compile.rs

11 years agoLots of cleanup and more generic commands
Yehuda Katz [Thu, 20 Mar 2014 21:02:51 +0000 (14:02 -0700)]
Lots of cleanup and more generic commands

Started to extract some of the generic behavior across all commands into
`execute_main` so that the commands themselves just need to operate
against structs (for JSON in and Flags)

11 years agoClean up dynamic option checks
Yehuda Katz [Thu, 20 Mar 2014 20:05:52 +0000 (13:05 -0700)]
Clean up dynamic option checks

11 years agoInitial stab at integration tests
Carl Lerche [Wed, 19 Mar 2014 01:10:48 +0000 (18:10 -0700)]
Initial stab at integration tests

At the same time, we started adding a generic error handling concept to
Cargo.

The idea is that every Result gets converted to a CargoError, which
includes all the information that Cargo needs to print out a friendly
human error message and exit gracefully.

11 years agoMove test build into target
Carl Lerche [Thu, 20 Mar 2014 17:57:39 +0000 (10:57 -0700)]
Move test build into target

11 years agoIntegration tests working
Carlhuda [Thu, 20 Mar 2014 01:25:14 +0000 (18:25 -0700)]
Integration tests working

Next up: cleanup

11 years agoA passing test
Carl Lerche [Thu, 20 Mar 2014 00:57:12 +0000 (17:57 -0700)]
A passing test

11 years agoMake everything pub for Alex
Carl Lerche [Wed, 19 Mar 2014 21:12:28 +0000 (14:12 -0700)]
Make everything pub for Alex

11 years agoBugs?
Carl Lerche [Wed, 19 Mar 2014 21:01:45 +0000 (14:01 -0700)]
Bugs?

11 years agoHelp me Alexwan Kenobi
Carl Lerche [Wed, 19 Mar 2014 18:49:46 +0000 (11:49 -0700)]
Help me Alexwan Kenobi

11 years agoTrying to shell out
Carl Lerche [Wed, 19 Mar 2014 18:44:43 +0000 (11:44 -0700)]
Trying to shell out

11 years agoInitial stab at integration tests
Carl Lerche [Wed, 19 Mar 2014 01:10:48 +0000 (18:10 -0700)]
Initial stab at integration tests

At the same time, we started adding a generic error handling concept to
Cargo.

The idea is that every Result gets converted to a CargoError, which
includes all the information that Cargo needs to print out a friendly
human error message and exit gracefully.

11 years agoAdd cargo-compile command
Carl Lerche [Tue, 18 Mar 2014 00:48:47 +0000 (17:48 -0700)]
Add cargo-compile command

11 years agoProxy output w/ color to tty
Carl Lerche [Mon, 17 Mar 2014 20:08:00 +0000 (13:08 -0700)]
Proxy output w/ color to tty

11 years agoMove design docs to DESIGN
Carl Lerche [Mon, 17 Mar 2014 20:07:23 +0000 (13:07 -0700)]
Move design docs to DESIGN

11 years agoSwitch to 4-space tabs
Carl Lerche [Mon, 17 Mar 2014 19:10:08 +0000 (12:10 -0700)]
Switch to 4-space tabs

11 years agoFix warnings
Carl Lerche [Mon, 17 Mar 2014 19:03:37 +0000 (12:03 -0700)]
Fix warnings

11 years agoVendor hamcrest-rust
Carl Lerche [Wed, 12 Mar 2014 23:19:39 +0000 (16:19 -0700)]
Vendor hamcrest-rust

11 years agoUse cargo conventions for cargo itself
Carl Lerche [Wed, 12 Mar 2014 22:32:47 +0000 (15:32 -0700)]
Use cargo conventions for cargo itself

11 years agoAdd missing files
Carl Lerche [Wed, 12 Mar 2014 20:03:36 +0000 (13:03 -0700)]
Add missing files

11 years agoBump hammer
Carl Lerche [Tue, 11 Mar 2014 00:44:40 +0000 (17:44 -0700)]
Bump hammer

11 years agocargo-read-manifest | cargo-rustc is working
Carl Lerche [Tue, 11 Mar 2014 00:38:31 +0000 (17:38 -0700)]
cargo-read-manifest | cargo-rustc is working

At the moment, only the bare bones command is working with some defaults
hardcoded. Also, there is a bunch of necessary cleanup and no tests.

However, this marks the first end-to-end functionality in Cargo!

11 years agoBump hammer
Carl Lerche [Mon, 10 Mar 2014 23:31:08 +0000 (16:31 -0700)]
Bump hammer

11 years agoShare manifest structs
Carl Lerche [Mon, 10 Mar 2014 23:30:20 +0000 (16:30 -0700)]
Share manifest structs

11 years ago`executable`->`bin` and initial impl
Carl Lerche [Mon, 10 Mar 2014 22:28:40 +0000 (15:28 -0700)]
`executable`->`bin` and initial impl

11 years agoMove design documents
Carl Lerche [Mon, 10 Mar 2014 21:47:10 +0000 (14:47 -0700)]
Move design documents

11 years agoBump hammer
Carl Lerche [Mon, 10 Mar 2014 21:46:50 +0000 (14:46 -0700)]
Bump hammer

12 years agoInitial cargo-read-manifest
Carl Lerche [Sat, 8 Mar 2014 01:14:02 +0000 (17:14 -0800)]
Initial cargo-read-manifest

12 years agoBump dep
Carl Lerche [Sat, 8 Mar 2014 00:26:58 +0000 (16:26 -0800)]
Bump dep

12 years agoStub out cargo-read-manifest
Carl Lerche [Sat, 8 Mar 2014 00:15:15 +0000 (16:15 -0800)]
Stub out cargo-read-manifest

12 years agoUpdate deps and Makefile
Carl Lerche [Sat, 8 Mar 2014 00:14:57 +0000 (16:14 -0800)]
Update deps and Makefile

12 years agoImport toml
Carl Lerche [Fri, 7 Mar 2014 23:45:37 +0000 (15:45 -0800)]
Import toml

12 years agoImport Toml
Carlhuda [Wed, 5 Mar 2014 01:48:43 +0000 (17:48 -0800)]
Import Toml

12 years agoAdd sketch of cargo-verify-project
Carlhuda [Wed, 5 Mar 2014 01:48:31 +0000 (17:48 -0800)]
Add sketch of cargo-verify-project

12 years agoInitial README with some commands sketched out
Carlhuda [Wed, 5 Mar 2014 00:06:39 +0000 (16:06 -0800)]
Initial README with some commands sketched out

12 years agoInitial commit
Carlhuda [Tue, 4 Mar 2014 23:16:18 +0000 (15:16 -0800)]
Initial commit